﻿namespace ITM.Modules.SharePointFileExplorer.SharePoint
{
    public class FileInfo
    {
        // Lists of file attributes
        private string _fileID; 
        private string _fileBaseName;
        private string _fileName;
        private string _fileExtension;
        private string _fileCreatedTime;
        private string _fileLastModificationTime;
        private int _fileSize;
        private string _fileAuthor;
        private string _fileModifiedBy;
        // documentlibraryview/folder/subfolder/file
        private string _fileRelativePath; 
        // documentlibrary/folder/subfolder/file
        private string _fileFakeRelativePath;
        // Properties
        public string FileID 
        {
            get { return _fileID; }
            set { _fileID = value; } 
        }

        public string FileBaseName 
        {
            get { return _fileBaseName; }
            set { _fileBaseName = value; }
        }

        public string FileName 
        {
            get { return _fileName; }
            set { _fileName = value; } 
        }

        public string FileExtension
        {
            get { return _fileExtension; }
            set { _fileExtension = value; }
        }

        public string FileCreatedTime
        {
            get { return _fileCreatedTime; }
            set { _fileCreatedTime = value; }
        }

        public string FileLastModificationTime
        {
            get { return _fileLastModificationTime; }
            set { _fileLastModificationTime = value; }
        }

        public int FileSize 
        {
            get { return _fileSize; }
            set { _fileSize = value; } 
        }

        public string FileAuthor
        {
            get { return _fileAuthor; }
            set { _fileAuthor = value; }
        }

        public string FileModifiedBy
        {
            get { return _fileModifiedBy; }
            set { _fileModifiedBy = value; }
        }

        public string FileRelativePath
        {
            get { return _fileRelativePath; }
            set { _fileRelativePath = value; }
        }

        public string FileFakeRelativePath
        {
            get { return _fileFakeRelativePath; }
            set { _fileFakeRelativePath = value; }
        }
    }
}